package com.fzhucc.modules.lesson.domain.dto;

import com.fzhucc.modules.lesson.domain.Lesson;
import com.fzhucc.modules.system.service.dto.UserDto;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.sql.Timestamp;

/**
* @description /
* @author yyg
* @date 2022-12-07
**/
@Data
public class LessonRecordDto implements Serializable {

    /** id */
    private Integer id;

    /** 课程id */
    private Integer lessonId;

    /** userid */
    private Long userId;

    /** 购买时间 */
    private Timestamp buyTime;

    private UserDto userDto;

    private Lesson lesson;

    private LessonDto lessonDto;

    public String orgArea;
}